package jmine.tec.persist.schema.superclass;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import jmine.tec.persist.annotation.Alias;
import bancosys.tec.component.Documentation;

@Entity
@Alias("SPRCS1")
@Table(name = "SUPER_CLASS_1")
@Documentation("SUPER CLASS 1")
@SequenceGenerator(name = "SEQ_SPRCLS", sequenceName = "SEQ_SPRCLS")
public class TableSuperClassChild1Entity extends AbstractTableSuperClassEntity {
    private Long id;

    /**
     * @return the id
     */
    @Id
    @GeneratedValue(generator = "SEQ_SPRCLS")
    @Column(name = "COD_SUPER_CLASS", precision = 17, nullable = false)
    @Documentation("CODIGO")
    public Long getId() {
        return this.id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

}
